//
//  Myorder.h
//  LoveFreshBeen
//
//  Created by vinsent on 16/10/16.
//  Copyright © 2016年 魏根. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "OrderGoodModel.h"
#import "ButtonsModel.h"
#import "StatusModel.h"
#import "FeeModel.h"

@interface Myorder : NSObject <YYModel>
///订单完成时间
@property(nonatomic,copy) NSString *completion_time;
///订单是否完成  eg: 已完成
@property(nonatomic,copy) NSString *textStatus;
///购买的商品总个数(不分种类)
@property(nonatomic,strong) NSNumber *buy_num;
///商品信息数组,数组长度是商品种类数
@property(nonatomic,copy) NSArray<OrderGoodModel *> *order_goods;
///实际支付金额
@property(nonatomic,strong) NSNumber *real_amount;
///发福利
@property(nonatomic,copy) NSArray<ButtonsModel *> *buttons;
///订单状态详细页面
@property(nonatomic,copy) NSArray<StatusModel *> *status_timeline;


///订单ID
@property(nonatomic,copy) NSString *order_no;
///收获码
@property(nonatomic,copy) NSString *checknum;
///下单时间
@property(nonatomic,copy) NSString *create_time;
///配送时间
@property(nonatomic,copy) NSString *accept_time;
///配送方式 0: 送货上门    1: 商铺自提
@property(nonatomic,copy) NSString *order_delivery_status;
///支付方式  1: 在线支付    0: 活到付款
@property(nonatomic,copy) NSString *pay_type;


///收货人称呼
@property(nonatomic,copy) NSString *accept_name;
///手机号
@property(nonatomic,copy) NSString *telphone;
///收获地址
@property(nonatomic,copy) NSString *address;
///配送店铺
@property(nonatomic,copy) NSString *dealer_name;

///配送及优惠
@property(nonatomic,copy) NSArray<FeeModel *> *fee_list;

///p评价
@property(nonatomic,copy) NSString *comment;
///✨✨
@property(nonatomic,strong) NSNumber *star;

//+ (instancetype)sharedOrder;

-(void)setValue:(id)value forUndefinedKey:(NSString *)key;

@end
